package com.makenv.dao;

import com.makenv.domain.Url;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UrlMapper {

    List<Url> showUrlList(@Param("startRow") int startRow,
                              @Param("num") int num);

    int deleteByPrimaryKey(Integer id);

    int insert(Url urlLink);

    int updateByPrimaryKey(Url urlLink);

    int getUrlSum();
}
